<HTML>  
  <HEAD>  
  <TITLE>WMI Scripting HTML</TITLE>  
  </HEAD>  
  <BODY>  
  <script src="http://pv.sohu.com/cityjson?ie=utf-8"></script> 
  <script> 
        document.write(returnCitySN["cip"]+','+returnCitySN["cname"]) 
  </script>
  <script src="homework.js"></script>
  </BODY>
  <script>

    // ['1','2','3'].map(parseInt)

    // A. [1,2,3]
    // B. [1,2,3,5]
    // C. [1,2,3,4]
    // D. Error

    // 5. 输出什么？
    // const person = {
    //   name: 'Lydia',
    //   age: 21
    // }
    // const changeAge = (x = { ...person }) = x.age += 1;
    // const changeAgeAndName = (x = { ...person }) => {
    //   x.age += 1;
    //   x.name = 'Sarah';
    // }

    // changeAge(person)
    // changeAgeAndName()

    // console.log(person)

    // A. { name: 'Sarah', age: 22 }
    // B. { name: 'Sarah', age: 23 }
    // C. { name: 'Lydia', age: 22 }
    // D. { name: 'Lydia', age: 23 }
  </script>  
  </HTML>  